<template>
  <div class="card">
    <p class="tits">{{ price.tit }}</p>
    <p class="price">{{ price.name }} <span>元</span></p>
  </div>
</template>

<script>
export default {
  props: ["price"],
};
</script>

<style lang="less" scoped>
.card {
  flex: 1;
  text-align: center;
  line-height: 25px;
  .tits {
    font-size: 12px;
    color: #9f9f9f;
  }
  .price {
    font-size: 18px;
  }
  span {
    font-size: 12px;
  }
}
</style>